import hztj from '{platform}/script/views/tjzx/hztj/index';
import tableObj from '{platform}/script/pages/table/index'
var template=require('template');
var events=require('events');
var request = require('{pub}/request');
return {
    target:'#hztj',
    path:'/hztj/',
    template:hztj, 
    data:{
        list:[{name:'wwe'}]
    },
    events:{
        "":"",
    },
    onInit:function(){
        var _that =  this;
        _that.req();
        setTimeout(function(){
            _that.element.html(template.render(hztj,{list:[{name:566}]}))
            tableObj.init(_that.element.find('.g-table-view'),{
                tabHead:[{name:566,type:'qwe',width:85},{name:566,type:'qwu',width:85},{name:'sdsd',type:'qwy',width:185},{name:566,type:'qwt',width:85},{name:566,type:'qwr',width:85}],
                tabBody:[{name:566,type:'qwe'},{name:566,type:'qwu'},{name:'上的故事的根深蒂固',type:'qwy'},{name:566,type:'qwt'},{name:566,type:'qwr'}]
            })
        },500)
    },
    req:function() {
        request.post('http://172.30.5.40:8080/remote/allow/fpdk/getArea',{opt:1212,ttt:3434},{
            
        })
    }
}